<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0"><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> 
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title></title>

<script type="text/javascript" src="../scripts/processBar.js"></script>

<script type="text/javascript">var processBarInstance = new processBar('../');processBarInstance.updateMsg('Loading styles......');</script>
<link rel="stylesheet" type="text/css"
	href="../scripts/ext/resources/css/ext-all.css" />
<link rel="stylesheet" type="text/css" href="../styles/dzbase.css" />	

<script type="text/javascript">processBarInstance.updateMsg('Loading API......');</script>
<script type="text/javascript" src="../scripts/ext/adapter/ext-base.js"></script>
<script type="text/javascript" src="../scripts/ext/ext-all.js"></script>
<script type="text/javascript" src="../scripts/i18nMessage.js"></script>
<script type="text/javascript" src="../scripts/utils.js"></script>
<script type="text/javascript" src="../scripts/login.js"></script>

<script type="text/javascript">
	if(top.location != window.location){
		top.location = '../../ui/login.jsp';
	}
	function sessionTimeOut(){
		var sto = '<%=request.getAttribute("sessionTimeOut")%>';
		if(sto == 'sessionTimeOut'){
			Ext.MessageBox.alert(message.get('message.tip'), loginMessage.getValueFromTagName('ui.login.auerror5'));
		}
	}
	var locale = '<%=request.getLocale()%>';
</script>

<SCRIPT language=JScript event="OnCompleted(hResult,pErrorObject, pAsyncContext)" for=foo>
	Ext.get('mac').dom.innerHTML = MACAddr;
</SCRIPT>

<SCRIPT language=JScript event=OnObjectReady(objObject,objAsyncContext) for=foo>
   if(objObject.IPEnabled != null && objObject.IPEnabled != "undefined" && objObject.IPEnabled == true)
   {
    if(objObject.MACAddress != null && objObject.MACAddress != "undefined")
    MACAddr = objObject.MACAddress;
    if(objObject.IPEnabled && objObject.IPAddress(0) != null && objObject.IPAddress(0) != "undefined")
    IPAddr = objObject.IPAddress(0);
    if(objObject.DNSHostName != null && objObject.DNSHostName != "undefined")
    sDNSName = objObject.DNSHostName;
    }
  </SCRIPT>
</head>
<body>
<OBJECT id=locator classid=CLSID:76A64158-CB41-11D1-8B02-00600806D9B6 VIEWASTEXT></OBJECT>
<OBJECT id=foo classid=CLSID:75718C9A-F029-11d1-A1AC-00C04FB6C223></OBJECT>
<SCRIPT language=JScript>
   var service = locator.ConnectServer();
   var MACAddr ;
   var IPAddr ;
   var DomainAddr;
   var sDNSName;
   service.Security_.ImpersonationLevel=3;
   service.InstancesOfAsync(foo, 'Win32_NetworkAdapterConfiguration');
</SCRIPT>
<center>
	<div id="loginHeader">
		&nbsp;
	</div>
	<div id="loginPanelContiner" style="text-align: left;"></div>
	<div class="copyright">
		Copyright &copy; 2010 Design Zone Inc. &amp; Hilaver Corp. All rights reserved.
	</div>
</center>
</body>
</html>